package com.baidu;

import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ImportResource;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.kafka.core.KafkaTemplate;

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
















@SpringBootApplication(scanBasePackages = {"com.baidu.controller","com.baidu.kafka"})
@ImportResource(locations = {"classpath:spring/spring-dubbo.xml"})
public class DemoWeek01Application extends SpringBootServletInitializer implements CommandLineRunner {

	public static void main(String[] args) {
		SpringApplication.run(DemoWeek01Application.class, args);
	}

	@Override
	public void run(String... strings) throws Exception {
	}

}
